<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>樊文帅订单页</title>
<link rel="stylesheet" href="./Public/Home/css/gouwuer.css" />
<link rel="stylesheet" href="icoupont/icoufont.css" />
<script type="text/javascript" src="./Public/Home/js/jquery-1.7.2.min.js"></script>
<script type="text/javascript" src="./Public/Home/js/1.js"></script>

</head>
<body>
     <!-- 最顶部 -->
 <div id="head">
        <!-- content内容 -->
 	<div class="content">
      <!-- 最顶部右边   -->
      <a class="home" href="" style="line-height: 30px;">蘑菇街首页</a>
        <ul class="right"> 
            <li class="ri right_a "><a href="">注册</a></li>
            <li class="ri right_a "><a href="">登录&nbsp;|</a></li>
            <li class="ri right_b "><a href="">我的订单&nbsp;|</a></li>
            <li class="ri right_c ">
                    <a href="">|</a>
                    <div class="gou">
                      <span class="gouwu"></span>
                       购物车
                    </div>
                    <div class="wu">购物车里没有商品！</div>
            </li>
            <li class="ri right_d ">
                   <a  class="kf"href="">客服服务&nbsp;|</a>
                   <i class="icon_daita"></i>
                   <div class="box">
                       <a class=" ll ">联系</a>
                       <a class=" bz ">帮助</a>
                   </div>
            </li>
            <li class="ri right_e ">
                <a href="">我的小店</a>
            </li>
        </ul>
    </div>
 </div>
 <div class="da_b">
<!--二楼开始-->
<!--大的div-->
<div id="c">
	<!--中间div1200-->
	<div class="z">
		<!--左边div-->
			<div class="y"></div>
	<!--右边div-->
			<div class="you">
				<div class="you_bg">
					<div class="jindu" ></div>
					<i class="i i_a">
					    1
						<span class="tip">购物车</span>
					</i>
					<i class="i i_b">
						2
						<span class="tip">确认订单</span>
					</i>
					<i class="i i_c">
						3
						<span class="tip">支付</span>
					</i>
					<i class="i i_d">
						4
						<span class="tip">完成</span>
					</i>
				 </div>
			 </div>
     </div>
</div>
<form action="" method="post">

<!-----------------------------收货地址开始------------------------>	
	<!--大的div-->
<div class="shouhuo">
	<!--边框是1148的div-->
	<div class="zj">
		<!--------------------------表头------------->
			<h3 class="biaotou">选择收货地址</h3>
			
			<!--------------------页面内容----------------------------->
			<div class="yemian">
				<!--右面的内容-->
				 <ul class="you_a">
				 	<li>
				 		<a href="">
				 			<!--默认地址-->
				 			<i class="mr"></i>
				 			<!--默认地址-->
				 			<h5 class="dizi">樊文帅</h5>
				 			<p class="sheng">河南省</p>
				 			<p class="qu">周口市商水县平店乡 100000</p>
				 			<p class="dianhua"> 15378796038</p>
				 			<i class="bianji" style="display: none;">编辑</i>
				 		</a>
				 	</li>
				 </ul>
				 <ul class="xiabu">
				 	<li></li>
				 	<li class="g"><a href="">管理收货地址</a></li>
				 	<li class="x">
				 		<a href="">使用新的地址</a>
							 	<!--<form action="">
							 <div class="zho_c" style="margin-top: 30px;">
				 				<!--内容div-->
				 				<!--<div class="ny">
				 					<dl class="ny_a">
				 						<dt>省：</dt>
				 						<dd class="ny_b">
				 							<i class="dian">*</i>
				 							<select class="k" name="province">
				 								<option value=""></option>
				 							</select>
				 							<span>市：</span>
				 							<select class="k" name="province">
				 								<option value=""></option>
				 							</select>
				 							<span>区：</span>
				 							<select class="k" name="province">
				 								<option value=""></option>
				 							</select>
				 						</dd>
				 						
				 						<dt>邮编号码：</dt>
				 						<dd class="ny_b">
				 							<i class="dian">*</i>
				 							<input class="type"type="text" name="postcode" id="" value="" />
				 							</dd>
				 							
				 							<dt>邮编号码：</dt>
				 						<dd>
				 							<i class="dian">*</i>
				 							<textarea class="k_a" rows="3"name="street" rows="" cols="30"data-max="100" data-type="*"></textarea>
				 							<span class="span">请填写街道地址，最少5个字，最多不能超过100个字</span>
				 							</dd>
				 							
				 							<dt>邮编号码：</dt>
				 						<dd class="ny_b">
				 							<i class="dian">*</i>
				 							<input class="type"type="text" name="postcode" id="" value="" />
				 							</dd>
				 							
				 							
				 							
				 							<dt>邮编号码：</dt>
				 						<dd class="ny_b">
				 							<i class="dian">*</i>
				 							<input class="type"type="text" name="postcode" id="" value="" />
				 							</dd>
				 							
				 							
				 							<dd class="zui">
				 								<a class="zui_b"href="javascript:;">确认地址</a>
				 								<a class="zui_a"href="javascript:;">取消</a>
				 							</dd>	
				 					</dl>
				 				</div>
				 			</div>-->
                </form>
				 	
				 		
				 		
				 		
				 	</li>
				 </ul>
			</div>
			
			<!--商品信息类-->
			<h2 class="qd">确定商品信息</h2>
			
			<!--商品的内容-->
<div class="san">
	<!--头部div-->
	
	<div class="zj">		
		<div class="zj_a">
			
			<ul class="pian">
			
			<li class="wrop">商品</li>
			<li class="wrop_a">商品信息</li>
			<li class="wrop_c">单价(元)</li>
			<li class="wrop_b">数量</li>
			<li class="wrop_b">小计(元)</li>
			<li class="wrop_e">操作</li>
			</ul>
		</div>
				
		<div class="zj_b">
			<div class="a_a">	
				<a class="b"href="">店铺：</a>
				<a href="">zomio独家定制韩版小清新潮范</a>
				<a class="tu"href=""></a>
				<span>
					<img src="./Public/Home/images/s2.png"/>
				</span>
				<?php foreach ($data['goods'] as $vv){?>
			    <div class="zj_c">
					<div class="a_a">
						<div class="zt">
							<img src="./Public/Home/images/67.jpg"/>
							
							<a class="zt_a"href=""> <?php echo $vv['name']?></a>
							
						</div>
				    </div>
				     <!--颜色-->
				     <div class="li">
				     	<li>
							<p class="p">颜色：<?php echo $vv['options']['color']?></p>
							<p class="p">尺码：<?php echo $vv['options']['size']?></p>
						</li>
				     </div>
				     <div class="shu">
				     	
				     	<li>
							<p class="p1"><?php echo $vv['price']?></p>
						</li>
						
				     </div>
				     <!--数量个数-->
			          <div class="num_a">
						<input  class="num_input"type="text" name="" id="" value="<?php echo $vv['num']?>" />
					  </div>
					<!--优惠的标签-->	
					<!--价格的标签-->
					<div class="p_s">
						<p class="p_a"><?php echo $vv['total']?></p>
					</div>
					<!--修改与删除-->
					<!--删除的异步-->
					<script type="text/javascript">
						$(function(){
							$('.del').click(function(){
								var del=$(this).attr('del');
								$.ajax({
									type:"post",
									//跳转的路径
									url:"<?php echo U('del')?>",
									//这个是异步上传的东西
									data:{del:del},
									dataType:'json',
									success:function(phpData){
						            if(phpData=1){}
									}
								});
							})
						})
					</script>
					<div class="p_c">
						
						<a href="" del="1">删除</a>
					</div>
					
				</div>	
				<?php }?>
				
			</div>
		</div>

	
				
			<div class="di">
				<div class="a_a">
					<lable class="mr10" for="s_all_f">备注：</lable>
					<input class="sj" type="text" placeholder="补充填写其他信息，如有快递不到也请留言备注"/>
			    </div>
				<div class="you">
					<div class="you_a">
					   <span>快递运费：全国包邮</span>
					</div>
				</div>
		   </div>		
    </div>				
</div>
			
	<div class="heji">
		<div class="heji_a">
			合计：
	      <span class="red"><?php echo $data['total_rows']?></span>
		</div>
     </div>	
	</div>   
</div>	



	 <div class="fk">
	 			<a class="bh"href="<?php echo U('Indax/index')?>">
	 				返回购物车
	 				<a  class="tu" href=""></a>
	 			</a>

	 	<div class="you">
			<div class="you_a">
				共有
				<span style="color: #FF3366;"><?php echo $data['total_rows']?></span>
				件商品,总计:
			</div>
			<div class="q">
				<span class="q">￥<?php echo $data['total']?></span>
			</div>
			<a class="xg" href="<?php echo U('Orderlist/index')?>">
			<div class="s"></div>
		   </a> 
	    </div>
    </div>		
</form>	
	<!--底部开始-->
	<div class="dibu">
	<p>
		<a href="http://www.mogujie.com" target="_blank">蘑菇街</a>
		|
		<a href="http://www.mogujie.com/joinin"target="_blank">加入开放平台</a>
		<a href=""> © 2016 Mogujie.com,All Rights Reserved.</a>
	</p>
	<div class="icon">
		<a class="vc" target="_blank"href="javascript:;"></a>
		<a class="va"target="_blank"href="javascript:;"></a>
		<a class="vb"target="_blank"href="javascript:;"></a>
		<a class="vd"target="_blank"href="http://bank.pingan.com/index.shtml"></a>
		<a class="vf"target="_blank"href="https://ss.knet.cn"></a>
		<a class="vg"target="_blank"href="http://www.pingpinganan.gov.cn/"></a>
	</div>
</div>
	
	
</div>